var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "code": 0,
    "msg": "OK",
    "data|100": [
      {
        "Id|+1":1,
        "date":"@date('yyyy-MM-dd')",
        "funds|1-10000":100,
      }
    ],
    "page": {
        "pagesize": 15,
        "currentpage": 1,
        "totalpage": 87,
        "totalnum": 130
    }
  })
}